package com.control;

import com.bean.Result;
import com.utils.CommonConst;

public class UserC {

    public Result logOut(String body, Result res) {
        try {
            System.out.println("进入到了logout方法中");
            res.setBody("进入到了logout方法中");
            res.setCode(CommonConst.ZERO);
            res.setStatus(CommonConst.ZREO_SHORT);
        } catch (Exception e) {
            res.setBody(e.getMessage());
            res.setCode(CommonConst.ONE);
            res.setStatus(CommonConst.ONE_SHORT);
        }
        return res;
    }
}
